<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"  assembly="FJASPX.Domain" namespace="FJASPX.Domain">
  <class name="Article" table="T_Article"  lazy="false">
    <id name="Id" column="id" type="Int32" unsaved-value="0">
      <generator class="identity" />
    </id>
    <property name="Title" column="Title" type="String" length="50" />
    <property name="Context" column="Context" type="String" length="4000" />
    <property name="TimeStamp" type="DateTime">
      <column name="CreateTime" length="10" sql-type="datetime" />
    </property>
    <property name="Creator" type="String">
      <column name="Creator" length="50" sql-type="varchar" />
    </property>
    <property name="UserId"  type="System.Int32">
      <column name="UserId" length="4" sql-type="int" />
    </property>
    <property name="UserName" type="String">
      <column name="UserName" length="50" sql-type="varchar"/>
    </property>
    <property name="State" type="Int32">
      <column name="State" length="4" sql-type="int" />
    </property>
  </class>

</hibernate-mapping>
